<?php
  $MsgDetail= new BWMessage($GoodsID);
  $GoodsPrice = $MsgDetail->getMediaManager()->getMedia('price')->getContent();
  if(strlen($MsgDetail->getMediaManager()->getMedia('image')->getContent())>0){
      $GoodsPic = $MsgDetail->getMediaManager()->getMedia('image')->getContent();
  }
  else{
      $GoodsPic='#';
  }
//echo '商品详情页面：<br><br>';
?>

<div style="font-family: 微软雅黑; font-size: 14px; line-height: 28px">
    <div style="text-align: center;margin-bottom: 4px;padding:0 1px;">
        <img src="<?php echo Yii::app()->request->baseUrl.$GoodsPic; ?>" style="width:100%; height:160px;"/>
    </div>
    <div style="padding: 0 10px; margin: 0px;">
        <div><?php echo "商品名称:".$GoodsName?></div>
        <div><?php echo "描述:".$GoodsDsc?></div>
        <div><?php echo "价格:".$GoodsPrice?></div>
        <div><?php echo "件数:50件"?></div>
        <div><?php echo "剩余时间：2小时01分49秒"?></div>
        <div><img src="<?php echo Yii::app()->request->baseUrl; ?>/images/mobile/button_max.png" style="width:100%; height:40px;"/></div>
    </div>
</div>
